﻿using battlenet.wow.rt.sdk.utility;

namespace System
{
    internal static class SystemExt
    {
        /// <summary>
        /// Remaps the specified object.
        /// </summary>
        /// <typeparam name="T"></typeparam>
        /// <param name="obj">The object.</param>
        /// <param name="remapper">The remapper.</param>
        /// <returns></returns>
        public static T Remap<T>(this object obj, IRemapper<T> remapper)
        {
            return remapper.Remap(obj);
        }
    }
}
